package com.boot;

import org.apache.dubbo.config.spring.context.annotation.DubboComponentScan;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
@RefreshScope

@DubboComponentScan({"com.service"})
public class ApplicationProducer {
    public static void main(String[] args) {
        ApplicationContext applicationContext= SpringApplication.run(ApplicationProducer.class, args);
    }
}
